<template>
    <el-breadcrumb :separator-icon="ArrowRight">
        <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
        <el-breadcrumb-item>在线答题系统</el-breadcrumb-item>
        <el-breadcrumb-item>所有题集</el-breadcrumb-item>
    </el-breadcrumb>
    <el-card class="box-card" style="margin-top: 20px;">
        <div v-for="item, index in arr">
            <p>{{ index + 1 }}.{{ item.question }}</p>
            <div>
                <span v-show="item1.isRight" style="margin-right: 10px;" v-for="item1, index in item.answer">
                    {{ item1.questionNumber }}.{{ item1.content }}
                </span>
            </div>
        </div>
    </el-card>
</template>
<script setup>
let arr = JSON.parse(sessionStorage.getItem('arr')) || []
</script>